﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DevWeb.Biztalk.DeploymentSettings.Data.CodeFirst
{
    public class DefaultSettingParameterValue:BaseSetting
    {
        public virtual DefaultSettingParameter DefaultSettingParameter { get; set; }

        public virtual int DefaultSettingParameterId
        {
            get;
            set;
        }

        public string ParameterName
        {

            get
            {
                if (DefaultSettingParameter != null)
                {
                    return DefaultSettingParameter.ParameterName;
                }
                else
                {
                    return string.Empty;
                }
            }
        }

        public virtual TargetEnvironment TargetEnvironment { get; set; }

        public virtual int TargetEnvironmentId
        {
            get;
            set;
        }
    }
}
